int create_tcp_client_socket(int port, const char *ip);
int create_tcp_server_socket(int port, const char *ip);
void create_tcp_server_socket_for_star(char * ip, int port, int expected_num_connections);
